package cn.b.training.baby_education_training.service;

import cn.b.training.baby_education_training.entity.BabyInoculate;

import java.util.List;

/**
 * @program: baby_education_training
 * @description
 * @author: wuying
 * @create: 2022-12-04 18:10
 **/
public interface BabyInoculateService {
    boolean addInoculate(BabyInoculate babyInoculate) throws Exception;
    /**
     * 通过婴儿id查询婴儿接种信息
     * @param babyId id
     * @return
     */
    List<BabyInoculate> getInoculateByBabyId(Long babyId);

    List<BabyInoculate> getInoculateByBabyIdAndVaccineId(Long babyId,Long vaccineId);

    Boolean deleteInoculateById(Long id);
}
